package com.bll.imple.mymienAction;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bean.MymienBean;
import com.bll.Action;
import com.dao.MymienDao;

public class ShowOneMymienAction implements Action{
	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		String lujing=request.getParameter("lujing"); 
		MymienDao dao=new MymienDao();
		  int id=Integer.parseInt(request.getParameter("id"));
		  //System.out.println("id:"+id);
		  //System.out.println("idaaaaa");
		  MymienBean bean=dao.SelectById(id);
		  //System.out.println("team:"+bean);
		  request.setAttribute("bean", bean);
		  
		return lujing;
	}
}
